package day20180129.designMode.two_Adapter.classAdapter;

/**
 * Created by 14394 on 2018/1/29.
 */

//适配器
public class PrintBanner extends Banner implements Print{
    public PrintBanner(String string) {
        super(string);
    }

    @Override
    public void printWeak() {
        showWithParent();
    }

    @Override
    public void printStrong() {
        showWithAster();
    }
}
